package com.imooc.uaa.exception;

import com.imooc.uaa.config.Constants;
import org.zalando.problem.AbstractThrowableProblem;
import org.zalando.problem.Status;

import java.net.URI;

public class UserNotEnableProblem extends AbstractThrowableProblem {

    private static final URI type = URI.create(Constants.PROBLEM_BASE_URL + "/user-not-enable");

    public UserNotEnableProblem() {
        super(type, "未授权访问", Status.UNAUTHORIZED, "用户未激活，请联系管理员");
    }

}
